Initialize repository only after configuration is applied