Gh368 git repo node

if no remotes found this will return always true. 
verify if getChildren has length > 0

same for refs