Fix the script path and break loop when xcodeproj gem found