fix installer crashing if a folder is present in zipfile.