Generate Cookiecutter products - changed branch usage to support tags for Cookiecutter template

Change-Id: I0392adea6b7343d0fc64e5539b1800d88071228c
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 1fa3c43..a4b646e 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -45,7 +45,7 @@
             print("Using context:\n" + COOKIECUTTER_TEMPLATE_CONTEXT)
 
             stage ('Download Cookiecutter template') {
-                if (COOKIECUTTER_TEMPLATE_BRANCH.startsWith('refs/changes/')) {
+                if (COOKIECUTTER_TEMPLATE_BRANCH.startsWith('refs/')) {
                     git.checkoutGitRepository(templateEnv, COOKIECUTTER_TEMPLATE_URL, 'master', COOKIECUTTER_TEMPLATE_CREDENTIALS)
 
                     dir(templateEnv) {