Refining the change from 43700302c6 so that we consistently pick a PathPatternParser (a) if it is provided, and (b) if both PathPatternParser and PathMatcher are not provided. Also applying the same in the mutate builder. See gh-31662
43700302c6