Check for the existence of git before backticking

Closes #214
Merge pull request #216 from calagator/fortify-source_code_version_raw

Check for the existence of git before backticking