reposync: fix auto if gate, was set to not instead of it is