replace relative of repo address to url