Fixed dependency downloader logic