better checking of get_current_branch usage
Merge pull request #95 from ros-infrastructure/fix_current_branch

Crash when running git-bloom-generate from not-a-branch