[1.6.x] Fixed #20653 -- Renamed checksetup -> check missed in [03465639]

Thanks CollinAnderson for the report.

Backport of a7d97a6778 from master