git-print-working-branch prints hash if no branch