integration-cli: check err on tmp dir creation Upstream-commit: 587558f617e602c0a690c751d96ccddea3f648d3 Component: engine