gitpython version check

A pass at heading off issues like #4595