`$oldid` is a container id, not an image id, so this condition will always be triggered.