fix a panic when the exec fails to start Upstream-commit: fefc9a3a6ae9ccb738a4e984ff90db70bb053484 Component: engine