Fix for the case when the scheme is contained in the workspace and not the project.
An example error this solves:
Failed to analyze project: failed to find the main target of the scheme (test): failed to find scheme (test) in project: scheme test not found in test