In case `--libdir` is not specified on the command line, and thus `args.libdir` is `None`, pass the standard `/usr/lib/osbuild` path to the meta.Index constructor. Otherwise no schema information can be found.
dir_fd
os.scandir()