checkpath: fix error message in previous commit