fix non-zero exit code with provisioning