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.