build/mngids.py: fix wrong debug message