Catch ValueError when Imgur doesn't respond with JSON