Fix incorrect compgen usage