Don't use Dictionary for usedPackages.