fix for copy extra files before pack system images.