Support excluding paths using glob matching.