Make sure $download_list is defined before concatenating strings.