Fix the "running_kernel" check command.

Refs #6369