sw-collector: Added --check option