Fix fatal in get_site_info method.

Need to check that site state is an array.

Fatal error for /wp-cron.php?doing_wp_cron=123 includes/class-wp-push-syndication-server.php:999 - Cannot use object of type WP_Error as array