Add null check for path matchers (for no match case)