Fix detect-test-runner test after changes in 5a7434e