Enhanced package resolution to help the transition from SPMA to YUM.

(allow to restrict package resolution to packages required by AII v2)