[ET Trac] #2505: GetComponens --update fails if a git repository is on a detached head