Fix glance_api_can_network() definition.