Index: trunk/ippTools/src/disttool.c
===================================================================
--- trunk/ippTools/src/disttool.c	(revision 25015)
+++ trunk/ippTools/src/disttool.c	(revision 25031)
@@ -384,6 +384,9 @@
         psStringAppend(&outroot, "%s/%s/%s", workdir, run_tag, stage); 
 
-        if (set_label == NULL) {
-            set_label = target_label;
+        psString new_label;
+        if (set_label != NULL) {
+            new_label = set_label;
+        } else {
+            new_label = target_label;
         }
         distRunRow *row = distRunRowAlloc(
@@ -392,5 +395,5 @@
                 stage,
                 stage_id,
-                set_label,
+                new_label,
                 outroot,
                 clean,
