Check for return type of get_preferred_from_update_core() in is_dev_version()

Check for return type of get_preferred_from_update_core() in is_dev_version(). get_preferred_from_update_core() may return boolean false in which case trying to access its non-existent property would throw a notice.