Werk #14045: Fix crash in activate changes when using DEBUG logging

Component Setup
Title Fix crash in activate changes when using DEBUG logging
Date May 6, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p24 2.1.0b9 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Activate changes would crash if a mkp was newly added and Global settings -> Logging -> Automation calls was on DEBUG.

To the list of all Werks