Fix condition in if

Change-Id: I4953379ffcd9b559c8d74827c64213e784d5882d
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index 82718c4..58e2119 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -118,7 +118,7 @@
                 }
             }
 
-            if (gerritRef) {
+            if (!gerritRef) {
                 stage("test-nodes") {
                     def partitions = common.partitionList(contextFileList, PARALLEL_NODE_GROUP_SIZE.toInteger())
                     def buildSteps = [:]