WP_ERROR Fix

This script occasionally breaks the plugin when trying to activate/update and receiving the $raw_response object as a non-array or nil object. This simple condition fixes it by detecting whether the response exists and is an array before outputting the response.