Return nil on empty path
What does this MR do?
Don't query Gitaly for a subtree without a path.
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Closes gitaly#1115 (closed)