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>