[Bug 49451] [5.11 regression] getcwd always returns Z:\