Pkg fixes

trying to join all efforts for solving the pkg issues.

still working on a docker based test
I do not think we need to do any automatic discovery, I'd suggest, as in my GH-1239, to explicitly list them in every package.