[Bug 496850] New: Broken handling of branched packages when committing