Added an extra check to avoid crashes when the version stats server
returns an invalid JSON result.