[checkmk-commits] Fix typecheck idiom in checks