Fixes an issue opening a workspace from a Podfile

The podfile might specify to use another workspace, and in this case we was
just appending 'ProjectName.xcworkspace' to the path instead of using this.
This resulted in a file not found when using pod try.