A nicer way to extract packs and groups listing from XDL command

This solves the bug where then creditline is set,
it is treated as a pack.