Minor cleanup in repository summary method