Fix the repositoryUrl() method call for snapshot repos.