filter returns a “filter object” in Python3, not a list directly as in Python2


Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1072940#c18