packaging: setup: pep8 fixes

One is minor, other is real - missing import. Affects only certain kinds
of failures, therefore not noticed in testing.

Bug-Url: https://bugzilla.redhat.com/1162186
Change-Id: I7f4108fd9e1e24e5199e0ed53710dbeb8cc2fa44
Signed-off-by: Yedidyah Bar David <didi@redhat.com>
(cherry picked from commit 72bba548ef8a6f30cbfb6d60b1581779420e2b9a)