Clean up repositories configs.
repositories ::installed should be host specific.
update-package-index.hook: don't update index after install/uninstall.