Convert local `file:` URLs to paths before handing over to `git_clone`.

Fixes a bug where a locally-cloned remote would get a `file:` URL as it's
origin URL, making the push machinery shrivel in fear.