Make sure $download_list is defined before concatenating strings.
Merge pull request #2816 from dannyvankooten/fix/undefined-var-download-list

Make sure $download_list is defined before concatenating strings.