Checkmk Werk 10239: Fix agent host diagnose mostly affecting windows hosts