Fixed a bug that cannot get ref rootfs