fixed duplicate packages filtering; started checking combination of metadata entry key AND package version
should be fixed since packageId now used as a key for build metadata index entry (was package file name - actually packageId + package version)