replace shares_repositories by shared_repositories