repo: initialize storage (e.g., rebuild index)

Change-Id: Iba8d5db1ecfb67c085f7f6355726a41b3f48aafa
Refs: #1831