Accept Docker URLs with an index spec in them.

NB: This is untested code.