Fixed null refrence errors for TeamCity 8.1.2 and TFS provider - referencing #1