Some trivial code refactoring in FindTfsParentCommits.
Keep topology order to follow