To match the libarchive container, raise a KeyError exception if we request an invalid member from a directory container.
mentioned in commit 7765669a