ref: Refactor the way we find references which are to be deleted
While taking a look at the DeleteRefs RPC, I found that it could be refactored a bit by converting from its own git-for-each-ref invocation to our central LocalRepository.GetReferences()
implementation, which does essentially the same thing.