Please, could you rather use the `git_repository_open_ext` overload which accepts a `SafeHandle`?