Get pathInfo from context by default for match method.