patch applied (cabal-install): Move getAvailablePackages into IndexUtils module