Switch from dulwich to pygit2