code: public static PathImpl getPwd()
    {
      PathImpl pwd = ENV_PWD.get();
      
      if (pwd == null) {
        if (PWD == null) {
          /* JNI set later
          PWD = JniFilePath.create();
  
          if (PWD == null)
            PWD = new FilePath(null);
          */
          PWD = new FilePath(null);
        }
        pwd = PWD;
        ENV_PWD.setGlobal(pwd);
      }
  
      return pwd;
    }
docs: Returns a path for the current directory.