[Compass-ci] [PATCH compass-ci] create-image: fix error path