Shouldn't assume result is an object. fixes #61

Notice: Trying to get property of non-object in /srv/www/wp-content/plugins/developer/developer.php on line 847

Throws an error when get_preferred_from_update_core returns false. (new installs or provisions)