Fix object_store problem while initializing repo