More succinct.
Fix bug when targeting branches.