checklinks: fix smartmatch warnings