Currently the build agent is set to null if there is none build agents found that can be resolved from the environment variables The current improvement adds a LocalBuild agent that is set as CurrentBuildAgent in case none other agents are found.