this is probably error-prone as it matches all directories that start with (but do not match exactly) the given exclude pattern