patch applied (cabal-branches/cabal-1.4): Reverse the order of the args to PackageIndex.insert