Fix bug in building command-line arguments.

Fix a bug preventing excluded accounts to be really ignored in some circumstances.