Fixed NRE in bulk downloader.
Merge pull request #357 from gmanny/master

Fixed NRE in bulk downloader.