Make automerge compatible with pygit2 0.19