pkglib_db_query_iter() should not be using a static pkg pointer
Add a __repr__() method to Pkg class