Hack for Docker Hub & Registry API