David Golub [Fri, 24 Jun 2011 11:39:12 -0400] rev 14737
call reposetup for repositories returned from peer (issue2864)
Extension setup functions were not being called when repositories were
obtained using the peer function instead of the repository function.