Revert "Fixed "filter(... is None)" usage"

This reverts commit 135dcb2a770517547620b9605dbbdeac1fc2822d.

It turned out that using "... is None" is in fact not working at all with
sqlalchemy, so instead we now disable that warning on the pep8 unit test.