Packaging fixup.
Add Repo Contents sub-api. If a response isn't JSON, don't try to decode it.