Some filesystems may not contains . or .. files

Some filesystems may not contains dot ou double-dot files
this change is to prevent from displaying two non existing folders.
Merge pull request #2099 from hiousi/patch-4

[-] CORE : Some filesystems may not contains . or .. files