remote-curl: consistently report repo url for http errors