Update django_blog git hook for newer pygit2 API