Handle None checks in UnifiedTreeBuilder.addNinjaSteps

The default value for checks in addNinjaSteps is None.
This patch adds the check steps only when they are not None.
1 file changed