Fix for new rubocop version