This fixes a panic doing the first READDIR or READDIRPLUS call when: