Goal: listing unneeded packages.

With py bindings and tests.

Related: RhBug:963345