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.