Fix representing directories when entries are not fetched