Fix type for CheckResult::command.

Refs #5039