fix to ignore hidden dirs in plugin folder (like the git folder)