Fix for a build error when using the --appConfigLayer option and a layer name included in the build profile.