Only add the commit hash if we are in the develop branch and the .git directory exists
Merge pull request #76 from christeredvartsen/version-fix

Only add commit hash to version string when in the develop branch