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
Always setting the 'IgnoreBranches' parameter to a new repository
Detect 'IgnoreBranches' setting value to set (for existing repository)

when the value of the setting is not set
and depending of the number of Tfs remotes initialized
if at least 2 tfs remotes, then we want to support branches
otherwise, ignoring them...