updates to be able to use later gitpython version.