copy_absolute(): keep the relative path if _wgetcwd() failed

Instead of using the undefined content of the 'path' buffer.
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 9c59ef1..112d6d3 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -300,7 +300,11 @@
     if (p[0] == SEP)
         wcscpy(path, p);
     else {
-        _wgetcwd(path, MAXPATHLEN);
+        if (!_wgetcwd(path, MAXPATHLEN)) {
+            /* unable to get the current directory */
+            wcscpy(path, p);
+            return;
+        }
         if (p[0] == '.' && p[1] == SEP)
             p += 2;
         joinpath(path, p);