Fix validation of source(…) paths
#19274
+222
−8
Merged
source(…) paths
#19274