67ceaa1
Check if the response is JSON before accessing it This will prevent JSONDecodeError Signed-off-by: Michal Konečný <mkonecny@redhat.com>