dont crash when repo has no trunk/branches in root