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.

Review by @hseeberger