Merge: github/api: avoid crashes with unparsable responses