Made repository URL adaptive.