fixes TypeError: '_DownloadErrors' object is not iterable (RhBug:1078832...

fixes issues TypeError: '_DownloadErrors' object is not iterable tracebacks on bad network connection

The error can be reproduced by the following steps.

$ dnf makecache
disable network connection
$ dnf install btanks -y