Reconfigure on modified 'cabal.config' even when there's no sandbox.

See #1485.