run state.apply only when installing stg

Change-Id: I65a2bad7206d8007fd2b66555dc2426c190f2121
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 236009a..3e44bfa 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -552,10 +552,12 @@
             }
 
             stage('Finalize') {
-                try {
-                    salt.runSaltProcessStep(saltMaster, '*', 'state.apply', [], null, true)
-                } catch (Exception e) {
-                    common.warningMsg('State apply failed but we should continue to run')
+                if (INSTALL != '') {
+                    try {
+                        salt.runSaltProcessStep(saltMaster, '*', 'state.apply', [], null, true)
+                    } catch (Exception e) {
+                        common.warningMsg('State apply failed but we should continue to run')
+                    }
                 }
             }
         } catch (Throwable e) {