[minor] filechecker: append trailing slash if missing when no pattern is used