rubocop_check: only define this check if rubocop is installed.
Merge branch 'rubocop_check'