public static string NiceProjectName(this Build b) { var config = BuildStatus.GetConfig(b.BuildTypeId); return(config != null ? config.ProjectName : "Unknown build config"); }