Refactor RepositoryUrlBuilder