added get_repo() method to get the repo