* Runtime: fix error message when invalid directory Upstream-commit: a675da65e97ac8847f0e22719e2cfdebba201235 Component: engine