Used unused variable; fix highstate output for jobs runner

Closes #19099