def do_exit(self, arg):
        self.system = None
        print ('Exiting.')
        return True
Called just before a TargetImage is created.
dataset/ETHPy150Open godaddy/Thespian/thespian/shell.py/ThespianShell.do_exit--crossover with--dataset/ETHPy150Open redhat-imaging/imagefactory/imgfac/CloudDelegate.py/CloudDelegate.builder_will_create_target_image