Use the right 'struct repository' instead of the_repository