Describe the bug
When there is no git revision information, a spurious "(in-tree)" is being output in the Cabal library version. This includes for released versions of cabal-install.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The output should be compatible with earlier cabal-install versions.
System information