fix not ignoring folders beginning with a dot