Move repo sync into the sdk from haproxy