Add distutils version checks to gitfs virtual function