Revert "checking sdcore or free5gc directory exist in a image"

This reverts commit dd579db39550a0d01e5e69429bbe8dc5235ad25e.

Reason for revert: <CI is not picking new helm charts so no use of doing this helm chart change>

Change-Id: Ie5572cc2231795ad1b2f576d699a573b74e012a4
diff --git a/5g-control-plane/templates/bin/_smf-run.sh.tpl b/5g-control-plane/templates/bin/_smf-run.sh.tpl
index 8280a07..aafc97c 100644
--- a/5g-control-plane/templates/bin/_smf-run.sh.tpl
+++ b/5g-control-plane/templates/bin/_smf-run.sh.tpl
@@ -6,21 +6,11 @@
 
 set -xe
 
-DIR=""
-if [ -d "/free5gc/smf" ]; then
-  DIR="/free5gc"
-  echo "free5gc directory exist"
-fi
-if [ -d "/sdcore/smf" ]; then
-  DIR="/sdcore"
-  echo "sdcore directory exist"
-fi
-
 {{- if .Values.config.coreDump.enabled }}
-cp $DIR/smf/smf /tmp/coredump/
+cp /free5gc/smf/smf /tmp/coredump/
 {{- end }}
 
-cd $DIR
+cd /free5gc
 
 cat config/smfcfg.conf
 cat uerouting/uerouting.conf