pmb.netboot: Initialize chroot before checking path in chroot

Otherwise with zapped chroots, the check will fail and pmbootstrap won't be able to locate the netboot image.

Fixes: d01f6b90 ("pmb.netboot: Only attempt to install nbd after rootfs existance check (MR 2540)")

CC @Newbyte

Merge request reports

Loading
Loading