[3rdparty-plugins] try to improve handling of extra packages for distros.