Fix version-no-tags test on Windows.
Fix version-no-tags test on Windows.

Helps with #4316. Thanks @robertkowalski for the idea on how to fix.

cchamberlain/npm-msys2,segrey/npm,rsp/npm,evanlucas/npm,evanlucas/npm,lxe/npm,segmentio/npm,kimshinelove/naver-npm,misterbyrne/npm,midniteio/npm,kemitchell/npm,TimeToogo/npm,cchamberlain/npm,TimeToogo/npm,chadnickbok/npm,TimeToogo/npm,Volune/npm,evocateur/npm,ekmartin/npm,yodeyer/npm,evanlucas/npm,misterbyrne/npm,kimshinelove/naver-npm,yibn2008/npm,DaveEmmerson/npm,thomblake/npm,yyx990803/npm,ekmartin/npm,DaveEmmerson/npm,chadnickbok/npm,yibn2008/npm,segment-boneyard/npm,yodeyer/npm,segment-boneyard/npm,chadnickbok/npm,cchamberlain/npm,princeofdarkness76/npm,evocateur/npm,ekmartin/npm,kemitchell/npm,yodeyer/npm,segrey/npm,segment-boneyard/npm,yibn2008/npm,haggholm/npm,kriskowal/npm,segrey/npm,segmentio/npm,kimshinelove/naver-npm,thomblake/npm,DIREKTSPEED-LTD/npm,xalopp/npm,lxe/npm,haggholm/npm,princeofdarkness76/npm,midniteio/npm,xalopp/npm,cchamberlain/npm-msys2,lxe/npm,Volune/npm,yyx990803/npm,cchamberlain/npm-msys2,thomblake/npm,princeofdarkness76/npm,midniteio/npm,yyx990803/npm,rsp/npm,Volune/npm,kriskowal/npm,haggholm/npm,kemitchell/npm,misterbyrne/npm,DIREKTSPEED-LTD/npm,cchamberlain/npm,DIREKTSPEED-LTD/npm,segmentio/npm,xalopp/npm,evocateur/npm,kriskowal/npm,rsp/npm,DaveEmmerson/npm