CORD-2494 Fix for ecord-global profile with PROFILE_PATH

Change-Id: I5f7591190ffcc17a2244bf077be36e259a87cc71
diff --git a/Makefile b/Makefile
index 77cebbc..cbf4eef 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
 
 # Configuration paths
 ifdef PODCONFIG_PATH
-	USECASE      := $(shell grep cord_profile: $(PODCONFIG_PATH) | awk '{print $$2}')
+	USECASE      := $(shell grep cord_profile: $(PODCONFIG_PATH) | awk '{print $$2}' | awk -F '-' '{print $$1}')
 else ifdef PODCONFIG
 	USECASE      := $(shell echo $(PODCONFIG) | awk -F '-' '{print $$1}')
 else