[fix] proper branch name when HEAD, thanks @ZDroid, fixes #3