We fixed an issue where the preset variables that are injected in the CMakePresets.json file ($sourceDir, $sourceParentDir, and $env{ZEPHYR_BASE}) would not be interpreted correctly in the west build command which would use the named preset when generating a build configuration.