fixed a bug at deployment using public images

No match.