Fix binary checksum calculation

The list of files in a package used to calculate the binary checksum is now
independent from the local installation pathes.