Only consider FileRef's in the workspace XML that have a location that ends in .xcodeproj as Projects.

Only consider FileRef's in the workspace XML that have a location that ends in .xcodeproj as Projects.