fix(sync): when called with --only-peers

When 'sync' is called with option '--only-peers', the path to function
'RemoteSynchronizer.getPeers()' is not the same as the default.

In this case we need to ensure that 'init()' was properly called and
proceed without a watcher.
7 jobs for pini
Status Name Job ID Coverage
  Tests
manual tests #53243
redshift manual
 
  Package
created package:test:docker-test-image #53245
redshift allowed to fail manual
created releases:test #53244
redshift allowed to fail manual
 
  Quality
created audit_dependencies #53247
redshift
created fmt_and_clippy #53246
redshift
 
  Integration
created sync_g1 #53248
redshift allowed to fail manual
created sync_gtest #53249
redshift allowed to fail manual