Make use of the new git_remote_fetch signature to clean up some code.