Make it work with the latest version of libgit2/pygit2 (0.19.0)