[Bug 970483] New: Wrong behaviour when merging packages