Fix cf78ad5 by avoiding nested-xcodeproj which cause carthage-build failure.

Continuing #11.

This pull request will fix `carthage build` failure when xcodeproj is nested.