Fix crash when parent tfs is not found

because the branch is a pure git branch
Merge pull request #671 from pmiossec/fix_crash_list_empty

Fix crash when parent tfs is not found