patch applied (cabal-install): Adjust to the change in the type of getInstalledPackages