Merge "Fixed 2way sync if target repo is empty"