[repository] implement git_repository_init_ext
[packbuilder] add callbacks