Fix build system when using the release tar file
The clang_format check needs the .git rpository to be present. In the release tar file the directory is missing which results in a crash when running cmake.
The clang_format check needs the .git rpository to be present. In the release tar file the directory is missing which results in a crash when running cmake.