It's hard to make a general call one way or the other.

In this specific case, I'd say that our `remoteName` retrieval is pretty scary, and more liable to break from libgit2 changes than a lookup function.