Add repo->magic to repo download link.