fixed directories containing a dot not getting accepted as rootfs directory