Add sanity check before deleting DIR after first creation of squashfile