Avoid validating workspace members when --no-sources
is provided
#7599
+89
−29
--no-sources
is provided
#7599