Make repo sync optional