Restore ProjectConfig.get_optional_dir API, "platformio-node-helpers" depends on it
Restore ProjectConfig.get_optional_dir API, "platformio-node-helpers" depends on it

platformio/platformio-core,platformio/platformio,platformio/platformio-core