Make 'cabal install Cabal' work again.

Restores old behaviour broken in 7fa7d17862e39635012aaf749f9872216e9b9023. Fixes #1245.