save repositories before refreshing added services

- otherwise pkg-bindings will treat them as removed by the service refresh and
  unload them)
- 3.1.5