Support multiple projects sharing the same Git repo

Make sure we set root_url even if the repo has already been cloned
Use full remote url for local clone directory

This avoids name clashes when multiple remote repos have the same name