undefined variable rsync_flag was removed.