fix git prompt error after xcode update