Fix for issue with builds that have never been run

Was running the app against a TeamCity server that had builds that have never been run. This would throw an error when trying to get the build[0] value as it didn't exist!
Merge pull request #1 from petems/add_non_running_builds

Fix for issue with builds that have never been run