Fix crash when parent tfs is not found

because the branch is a pure git branch