handle failures trying to run git log to get version

If git isn't installed get_version fails and takes down anything trying to use it along with it.

This handles the error more gracefully.