Fix unclear error message when deleting container Upstream-commit: 13ee6d8eee49e0f2ed285c5a4c54fb294711bc96 Component: engine