Fix incorrect discovery of non-test ``__init__.py`` files.