How to reproduce:
sbctl sign myfile.efi
sbctl list-files # as expected file is not in the database
sbctl sign -s myfile.efi # run command again with -s flag to save it to the database
sbctl list-files # the file is still not in the database
I think this error was introduced with 638fd00