CORD-1394 Unify build environment paths

Change-Id: I433d5ae95c9cc540d5586da5ca55b889d8fb1f81
diff --git a/roles/copy-profile/tasks/main.yml b/roles/copy-profile/tasks/main.yml
index 3434c27..c206a3f 100644
--- a/roles/copy-profile/tasks/main.yml
+++ b/roles/copy-profile/tasks/main.yml
@@ -3,7 +3,7 @@
 
 - name: Copy (sync) the cord_profile directory structure to head node
   synchronize:
-    src: "{{ hostvars[groups['config'][0]]['config_cord_profile_dir'] }}/"
+    src: "{{ config_cord_profile_dir }}/"
     dest: "{{ head_cord_profile_dir }}/"
     delete: yes