Add support for unixy paths in git/hg local repo urls, closes #3294