Patched to support error handling of missing dist-tags on HTTP response