pack.sh: bugfix -a option