Log error for insufficient gitpython version

Added log entry for cases when gitpython is below minimum version
Some small pep8 fixes as well
Merge pull request #6412 from KennethWilke/develop

Log error for insufficient gitpython version