Better error message for when the cURL request is successful but the response isn't a valid SVG