Last fix eliminated match on "*", which is restored here for the sake of error checking.
Additionally, when running edown through rebar, get_git_branch would throw errors on dependency repositories. This fixes that issue, reading the slightly different output of "git branch" occurring with clones.
match * syntax, and "(no branch)" on deps repositories
clearer error reporting
flatten error list
debugging the debugging
fixed erroneous chars
Thanks - merged.