Always return an scm URL

If the scm root path was not found, we returned a regular file URL. This resulted in setURL interrupting not as a scm url.