more linux/darwin GitPython compatibility