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 !1384 with pini in 60 minutes and 13 seconds (queued for 10 seconds)
latest detached
Status Job ID Name Coverage
  Tests
failed #53264
redshift
tests

01:00:13

 
  Package
skipped #53266
redshift allowed to fail manual
package:test:docker-test-image
skipped #53265
redshift allowed to fail manual
releases:test
 
  Quality
skipped #53268
redshift
audit_dependencies
skipped #53267
redshift
fmt_and_clippy
 
  Integration
skipped #53269
redshift allowed to fail manual
sync_g1
skipped #53270
redshift allowed to fail manual
sync_gtest
 
Name Stage Failure
failed
tests Tests The script exceeded the maximum execution time set for the job
      at next (/builds/pini-gh/duniter/node_modules/mocha/lib/runner.js:309:10)
at Immediate._onImmediate (/builds/pini-gh/duniter/node_modules/mocha/lib/runner.js:339:5)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)



ERROR: Job failed: execution took longer than 1h0m0s seconds