Rescue malformed JSON config

Since we cannot parse the repo configuration, return an empty hash, as if the
was no configuration at all.