reposync: fix if's without thens