https://bugs.winehq.org/show_bug.cgi?id=57245
--- Comment #5 from Eric Pouech eric.pouech@gmail.com --- thanks for looking into it
patch in #4 looks good to me
do you want to submit it as a merge request?
(ideally, I'd add a comment in wcmdmain.c to explain the extra lookup; and non-regression tests should be added too)