Fix the reported traceback
The script was failing, because the DNF output changed and some
new strings appeared which it could not handle. Now it can parse
the output again. FIXES #1.
Logging support was added to log some of the information.
FIXES #2.