[ticket/12268] Do not search in folders starting with a dot

PHPBB3-12268