[checkmk-commits] Fix refactoring issue uncovered by mypy