Fix implementations following change to behaviour of DotFileFilter
(cherry picked from commit abf9d637c87e76b28c541a7f4295e7a3df25c46f)