Fix for current branch marker, empty lines

I somehow forgot that git branch has an asterisk marker for the current
branch, and this causes an error getting the branch date.

The git-branch output may also have empty lines, it seems.