Error building firmware using imagebuilder with new apk package manager

I'm using the ImageBuilder to build the firmware for my BananaPi R4.

It is currently stuck in the installation of packages:

ERROR: unable to select packages:
  libudev (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libudev-zero
    required by: usbutils-017-r1[libudev]

Is this an issue with apk? Or should I just add the dependent package libudev-zero to my package list?

I would think when there is only one provider available, it should pick that automatically, right?

The imagebuilders are currently broken, with the wrong architecture in the packages.adb files (they somehow contain x86_64 instead of the platform arch). Details here: https://github.com/openwrt/openwrt/issues/16953