build: fix restoring /etc/opkg with PER_DEVICE_ROOTFS