Maybe add a check for `git_transport_unregister()` return value?