Fix interaction with repositories cloned/created with git >= 2.15.0 (#1508639)
Repositories which are created/cloned using git >= 2.15.0 can contain a
packed-refs format which GitPython fails to handle. Ensure users who
share repositories across git versions can use GitPython.