fix empty lfn output in lsdir