prevent image prune panic Upstream-commit: bde4c893513f986041dbe43965ae514a2612aed5 Component: engine