Problem installing OpenZFS 2.1.13 on Ubuntu 22.04.3 LTS

Has anyone managed to install zfs-2.1.13 successfully on Ubuntu?
I compiled following the DKMS instructions at Custom Packages — OpenZFS documentation but installing the generated dkms deb package doesn’t install any DKMS files in /var/lib/dkms/. Also, uninstalling the package fails, probably because there are no files to remove.
zfs-2.1.12 works fine.

$ sudo dpkg -r zfs-dkms
(Reading database ... 94815 files and directories currently installed.)
Removing zfs-dkms (2.1.13-1) ...
Error! The module/version combo: zfs-2.1.13 is not located in the DKMS tree.
dpkg: error processing package zfs-dkms (--remove):
 installed zfs-dkms package pre-removal script subprocess returned error exit status 3
Errors were encountered while processing: