CTest: Fix regression in ctest_start()
The format for the TAG file was changed in 3.12, and the way it was read caused a regression which changed how the track was decided. This commit fixes the regression.
Fixes #18347 (closed).
Edited by Kyle Edwards