Respond with inaccessible badge for nonexistent repos

When requesting a nonexistent repo, return a badge
instead of the JSON "{file: "not found"}".