fix dependency

Change-Id: I208c2385f1d18232bc1c016dcdba1846446af6b0
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index acacf9c..a9ca48f 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -24,6 +24,7 @@
         def modelEnv = "${env.WORKSPACE}/model"
 
         try {
+            def templateContext = readYaml text: COOKIECUTTER_TEMPLATE_CONTEXT
             def clusterDomain = templateContext.default_context.cluster_domain
             def clusterName = templateContext.default_context.cluster_name
             def cutterEnv = "${env.WORKSPACE}/cutter"
@@ -31,7 +32,6 @@
             def outputDestination = "${modelEnv}/classes/cluster/${clusterName}"
             def targetBranch = "feature/${clusterName}"
             def templateBaseDir = "${env.WORKSPACE}/template"
-            def templateContext = readYaml text: COOKIECUTTER_TEMPLATE_CONTEXT
             def templateDir = "${templateEnv}/template/dir"
             def templateOutputDir = templateBaseDir