Fixes #3730: fix class expression for cron check on ubuntu and redhat

http://www.rudder-project.org/redmine/issues/3730