Replace some more "command -v" calls with the Helper method

Remove some more output mid-unittests on windows.

Second part from #12303 

@MorrisJobke @icewind1991 @LukasReschke 
Please don't use such stuff. It will lead to the above misinterpretations. Please add the `true`.