Make sure the repo_url has a trailing slash before using urljoin.