Added a test case to fail with docker:// + registry

If a registry is given with the `docker:///` URL syntax two slashes are inserted.