Werk #14051: Fix crash in activate changes

Component Setup
Title Fix crash in activate changes
Date May 19, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p25 2.1.0 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Activate changes would crash on activation of some mkps when Global settings -> Logging -> Automation calls was on DEBUG.

To the list of all Werks