Improve the error print of image inspect Upstream-commit: 0ca4995ca8127f64dd82a4b0d67ef17cf5bdb3db Component: engine