Fix log error/ok in task when have no suitable devices to netinventory. closes #2547