patch applied (cabal-install): Change Dependency module to use the LocalIndex ADT