Default to the SHA-1 of HEAD if the contents of git-describe are not available.

This happens when a tag has not been created in the git repository.
Merge pull request #2 from HolyHaddock/master

Default to the SHA-1 of HEAD if the contents of git-describe are not available.