Fix preparing app source with tar_copy