Export BuildSettings and try avoiding a nullref reported on TfsBuildManager.Views.BuildModelView.GetBuildAgentName