Improved the support for handling multiple installed packages and
scripts on the repositories