Upgrade from within China fails due to git issues