build: copy_images_to_server() rework 'scp' if it failes