Checking if Rubocop is installed before running it.