rubocop_check: only define this check if rubocop is installed.