CTest: Don't use (CTEST_)PROJECT_NAME, fix CDASH_UPLOAD
Fixes: #18611 (closed), #18612 (closed)
Topic-rename: ctest-updates
A GitLab update will be applied on April 24th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.
Fixes: #18611 (closed), #18612 (closed)
Topic-rename: ctest-updates