Karaoke Mugen can't see Git (Maintainer mode)

Fresh install on Linux Mint 22. Git is installed. It is recognized by my terminal. I followed this guide to add it to ~/.bashrc as an extra measure.
Karaoke Mugen refuses to see that git is installed.

“Git n’a pas été trouvé sur le système, veuillez l’installer pour utiliser le mode mainteneur”

Git: Git NOT installed (not foudn in path
Repo: Error editing repo : Error: GIT_BINARY_NOT_FOUND

This does not generate error messages in the log file, only in the system log window.

Version 8.0.79 (stable), flatpak.