don't fail for unknown commits when getting the top tree

this helps in certain "bad object" situations when a split commit no longer exists in the subtree repository. The calling code already handles a returned missing tree, but the git log call previously failed for an unknown commit.