Use NoSuchRemote from the base git interface.

Don't use NoSuchRemote from the git implementation, as it isn't always defined!