Use a more clever way to detect if we are building from a git repository

There is no reason to disallow people building with --buildtype=release from a release tarball.

Merge request reports

Loading