Fix rubocop offences
Merge pull request #1 from philk/COOK-3995

Fix rubocop offences