Download the right repo url