Automatically sets the repository URL from svn/svk/Git checkouts.