create_image.sh: fix condition handling.
Merge pull request #158 from morucci/create-image

create_image.sh: fix condition handling.