Fixes #19 - Don't fail to load project if not in a git repo.

Checks for null branch string and returns empty rather than
fail the build.
Merge pull request #20 from sbt/fix/non-git-repo

Fixes #19 - Don't fail to load project if not in a git repo.