Index the content when the syncing finishes

Without this, the repo was not synced when using Dynflow for managing the
synchronization