VOL-2827 Fix error in pipeline

Change-Id: Id05e71f5fd63e5222ea94704f3325bb70be2a536
diff --git a/jjb/pipeline/voltha-system-test-bbsim.groovy b/jjb/pipeline/voltha-system-test-bbsim.groovy
index 0f674bd..6b0e44d 100644
--- a/jjb/pipeline/voltha-system-test-bbsim.groovy
+++ b/jjb/pipeline/voltha-system-test-bbsim.groovy
@@ -38,7 +38,6 @@
     DEPLOY_K8S="y"
     VOLTHA_LOG_LEVEL="DEBUG"
     CONFIG_SADIS="y"
-    EXTRA_HELM_FLAGS="${params.extraHelmFlags} --set voltha-etcd-cluster.clusterSize=3"
     ROBOT_MISC_ARGS="-d $WORKSPACE/RobotLogs"
   }
 
@@ -66,13 +65,16 @@
     stage('Deploy Voltha') {
       steps {
         sh """
-          if [ "${manifestBranch}" != "master" ]; then
+           EXTRA_HELM_FLAGS=""
+           if [ "${manifestBranch}" != "master" ]; then
              echo "on branch: ${manifestBranch}, sourcing kind-voltha/releases/${manifestBranch}"
-             source "$HOME/kind-voltha/releases/${manifestBranch}"
+             source "$WORKSPACE/kind-voltha/releases/${manifestBranch}"
            else
              echo "on master, using default settings for kind-voltha"
            fi
 
+           EXTRA_HELM_FLAGS+="${params.extraHelmFlags} --set voltha-etcd-cluster.clusterSize=3 "
+
            pushd kind-voltha/
            ./voltha up
            popd