Ignoring 'dir/' wasn't working right