bugfix: wrong termination condition on Metadata::get_dirents See merge request zdvresearch_bsc/adafs!70