Added Repository.is_bare and Repository.is_empty