Cleanup indenting.
Fix repo parent accessing problem.

repos.list(..) returns repos without a repo.parent,
repos.get(..) returns repos with a repo.parent.