Accept an http URL as a repository location

I was trying to keep the changes small and simple, but okay...