Fix script after the -e flag was added

This prevented new images from appear, since the md5 test used the old way
would stop the script entirely