(fixes #418) correctly handle git versions that have hashes in them