lib/gamnit: fix not executing gamnit programs when testing