Remove rootfs path.