Fixes #5619: correctly check rudder agent Windows services