Fix a grep-itself bug when checking for GPU healthcheck (#97929)
The logic works https://github.com/pytorch/pytorch/actions/runs/4558327458, but it also grep itself due to `set -x` is set (Ugh, debug message)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97929
Approved by: https://github.com/malfet, https://github.com/weiwangmeta