reposync: add option to init if not inited before