Fix rubocop warnings

Jenkins test running at http://ci.theforeman.org/job/test_develop_pull_request/9733/