configuration: fix argument list parsing.

I was having problems providing multiple exclude patterns and getting them to work - this patch should fix the issues.