[COOK-4388] Fix rubocop