[JBIDE-16854] dont NPE if path pattern is null