33526: fix completion path prefix handling when NO_CASE_GLOB is in effect