The GUI updater calls notify script after calling pacman (or other package manager) anyway: qubes-core-admin-linux/vmupdate/agent/entrypoint.py at main · QubesOS/qubes-core-admin-linux · GitHub
But a hook might be useful to reset the flag after manual updates too.
As for Debian output, makes sense.