Fixed FilesystemLocator::listDirectory()