fix the problem when setting existing file as working dir Upstream-commit: ba9f9b3c9268a1b201bcb10045da77b135d869d1 Component: engine
fix the problem when setting existing file as working dir Upstream-commit: ba9f9b3c9268a1b201bcb10045da77b135d869d1 Component: engine