allow empty index endpoint for private repositories

This allows to use the docker-registry-debug with a private registry, where no index is available. Example:

```
$ docker build -t docker-registry-debug .
$ docker run docker-registry-debug -i="" -r="http://local-registry.example.com:5000" info example/repository
```