[COOK-4053] Fix Rubocop error