Fix and clarify the processing of EXCLUDE list


The EXCLUDE argument is a multi-value argument and considering the other
arguments of the command, it looks like that it is asking for a list of
paths/strings, and not regex; but if a list of directories/paths were
passed to it, the list(FILTER would complain since a list is not a
REGEX.

Change-Id: I6084da967c32c074df941b6692669d3b23d1df77
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e23a3e1c9c85b928b8aaef1d25ed541296355714)
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit78b41a37f44ddeb217faa5157ff4f8e2b567a1e9
parent6c989c57d43cf99d31921ec5fd7fff31ffb2635b
authorAmir Masoud Abdol <amir.abdol@qt.io>
committerAmir Masoud Abdol <amir.abdol@qt.io>
commit timeFri, 4 Aug 2023 12:00:04 +0000