Fix dnf-0.6.0 and dnf-plugins-core-0.1.2 incompatibilities

I see that in dnf-0.6.0 release commit 1a36da4 changed logger to module level variable. This will fix the bugzilla reported for plugins copr and debuginfo-install.