[checkmk-commits] Fixed TypeError and return code