I did slight changes and now it should work properly as expected.
Sad thing is that the DNF error is printed twice. First traceback is where we raised the
exception and second is traceback of DNF error. I'm going to file a bug on DNF to make
the exception shorter [
this](https://bugzilla.redhat.com/show_bug.cgi?id=1277485) the
packages there are exception description.
Another problem is that this exception has more than one line so we need to take only
first line of the exception description. This was filed as bug on libreport because I
think they should do this automatically.
--
To view this pull request on github, visit
https://github.com/rhinstaller/anaconda/pull/405