Refactor BuildController.listBuilds to RepositoryController.show