socorro-syms: Correct the extraction of repository branch
socorro-syms: Correct the extraction of repository branch

When a recipe has git-cloned source code to compile, it may be checked out with
a detached HEAD. The current VCS information extraction in socorro-syms
incorrectly assumes a detached HEAD belongs to the master branch.

With the proper git command we find the branch the detached HEAD belongs to and
use that in the Socorro link.

Signed-off-by: Daniel Markus <fd6458592a61f127abc0164ba42a9d503fd2e473@leica-geosystems.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>

epylar/meta-openembedded,lixinfnst/meta-openembedded,VCTLabs/meta-openembedded,rofehr/meta-openembedded,rdm-dev/meta-openembedded,RedFIR/meta-openembedded,openembedded/meta-openembedded,dm8tbr/kodi-wip,mrchapp/meta-openembedded,rofehr/meta-openembedded,lixinfnst/meta-openembedded,amery/meta-openembedded,rdm-dev/meta-openembedded,RedFIR/meta-openembedded,shr-distribution/meta-oe,victronenergy/meta-openembedded,openembedded/meta-openembedded,kraj/meta-openembedded,fredcadete/meta-openembedded,fredcadete/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,epylar/meta-openembedded,dm8tbr/kodi-wip,epylar/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,lgirdk/meta-openembedded,VCTLabs/meta-openembedded,shr-distribution/meta-oe,rofehr/meta-openembedded,rofehr/meta-openembedded,schnitzeltony/meta-openembedded,rdm-dev/meta-openembedded,victronenergy/meta-openembedded,rehsack/meta-openembedded,epylar/meta-openembedded,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,mrchapp/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,schnitzeltony/meta-openembedded,MCherifiOSS/meta-openembedded,amery/meta-openembedded,RedFIR/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,rdm-dev/meta-openembedded,dm8tbr/kodi-wip,VCTLabs/meta-openembedded,openembedded/meta-openembedded,mrchapp/meta-openembedded,epylar/meta-openembedded,joelagnel/meta-openembedded,rehsack/meta-openembedded,fredcadete/meta-openembedded,joelagnel/meta-openembedded,rehsack/meta-openembedded,shr-distribution/meta-oe,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,MCherifiOSS/meta-openembedded,rehsack/meta-openembedded,lgirdk/meta-openembedded,RedFIR/meta-openembedded,dm8tbr/kodi-wip,rdm-dev/meta-openembedded,lixinfnst/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,kraj/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,joelagnel/meta-openembedded,fredcadete/meta-openembedded,kraj/meta-openembedded,VCTLabs/meta-openembedded,mrchapp/meta-openembedded,fredcadete/meta-openembedded,lixinfnst/meta-openembedded,epylar/meta-openembedded,kraj/meta-openembedded,lgirdk/meta-openembedded,openembedded/meta-openembedded,rofehr/meta-openembedded,kraj/meta-openembedded,RedFIR/meta-openembedded,amery/meta-openembedded,epylar/meta-openembedded,moto-timo/meta-openembedded,lgirdk/meta-openembedded,victronenergy/meta-openembedded,joelagnel/meta-openembedded,rdm-dev/meta-openembedded,shr-distribution/meta-oe,RedFIR/meta-openembedded,epylar/meta-openembedded,VCTLabs/meta-openembedded,lgirdk/meta-openembedded,MCherifiOSS/meta-openembedded,openembedded/meta-openembedded,shr-distribution/meta-oe,victronenergy/meta-openembedded,fredcadete/meta-openembedded,openembedded/meta-openembedded,lgirdk/meta-openembedded,VCTLabs/meta-openembedded,joelagnel/meta-openembedded,dm8tbr/kodi-wip,kraj/meta-openembedded,victronenergy/meta-openembedded,fredcadete/meta-openembedded,mrchapp/meta-openembedded,RedFIR/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,lixinfnst/meta-openembedded,VCTLabs/meta-openembedded,VCTLabs/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,openembedded/meta-openembedded,shr-distribution/meta-oe,MCherifiOSS/meta-openembedded,joelagnel/meta-openembedded,schnitzeltony/meta-openembedded,shr-distribution/meta-oe,rdm-dev/meta-openembedded,MCherifiOSS/meta-openembedded,shr-distribution/meta-oe,rofehr/meta-openembedded,moto-timo/meta-openembedded,RedFIR/meta-openembedded,lgirdk/meta-openembedded,victronenergy/meta-openembedded,dm8tbr/kodi-wip,MCherifiOSS/meta-openembedded,lixinfnst/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,rofehr/meta-openembedded,kraj/meta-openembedded,mrchapp/meta-openembedded,joelagnel/meta-openembedded,moto-timo/meta-openembedded,moto-timo/meta-openembedded,rdm-dev/meta-openembedded,fredcadete/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,rofehr/meta-openembedded,dm8tbr/kodi-wip,dm8tbr/kodi-wip,amery/meta-openembedded,joelagnel/meta-openembedded,victronenergy/meta-openembedded,moto-timo/meta-openembedded,amery/meta-openembedded,amery/meta-openembedded