[1.7.x] Fixed typo in parameter name doc for BaseCommand.check().

Backport of a8c5630c98 from master