Fix: handle thread sanitizer logfile correctly.

3 jobs from setup-ci in 2 minutes 5 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
failed #2653
build_cmake

02:05

 
  Test
skipped #2654
run_tests
 
  Sanitizer
skipped #2655
run_thread_sanitizer
 
Build build_cmake
else
echo shell not found
exit 1
fi

: No such file or directory
g++: fatal error: no input files
compilation terminated.
ERROR: Job failed: exit code 1