hosts: get_resource returns nil when resource is not found
mailalias: get_resource returns nil when resource is not found