Fixed really old directory list bug when used with ldi images