fix __sm.log.step.tree logging when command missing