Fix copying the DAG to bootstrap image

Merged Yan Sushchynski (EPAM) requested to merge Fix_copying_DAG_bootstrap_image into master

Fix copying the DAG to bootstrap image

Merge request reports