Fix RepositoryExtra initialization