refactor check if we should ignore the scenario

also unkink empty log files in after scenario, we don't need to keep them