hp-wmi: fix regressions caused by missing if statement