[CORD-2566]
Avoid creating nested genconfig directories

Change-Id: I00c69da4344a8c5bdf9197b5edc76aab55339f34
diff --git a/Makefile b/Makefile
index 2af3a2c..bab71e4 100644
--- a/Makefile
+++ b/Makefile
@@ -241,6 +241,7 @@
 
 $(M)/cord-config: | $(CORD_CONFIG_PREREQS)
 	$(ANSIBLE_PB) $(PI)/cord-config-playbook.yml $(LOGCMD)
+	rm -rf $(CONFIG_CORD_PROFILE_DIR)/genconfig
 	cp -r $(GENCONFIG_D) $(CONFIG_CORD_PROFILE_DIR)/genconfig
 	touch $@