[Bug 52544] %__APPDIR__% and %__CD__% variables support