Get current branch with grep/awk

Use grep/awk instead of name-rev to get current branch name because the later
fail with empty branch (no new commit)
Merge branch 'release/0.1.5'