Fixes issue where copy_files_phase would not point correctly to the framework