Flatpak command hangs with message `F: Calling system helper: GenerateOciSummary`

I switched from flatpak version 1.15.4-3.fc39 to 1.15.4-4.fc39 and all of a sudden it suddenly won’t install/update any package. When running flatpak update it returns the following output and then hangs infinitely

F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/arijit/.local/share/flatpak
Looking for updates…
F: Calling system helper: GenerateOciSummary

I am currently running fedora 39. Any help is greatly appreciated.