Put the import of `gitpython` in a try-except because it is not needed for the version number when installing off the wheel (`PyPI`).