pulse2: handle cli options properly in generate-agent-pack.sh