patch applied (cabal-branches/cabal-1.8): MERGED: Fix register --global/--user