Allow Ansible to obtain the Git branch name when building on Jenkins (with a detached head).
Allow Ansible to obtain the Git branch name when building on Jenkins (with a detached head).

computationalmodelling/virtualmicromagnetics,fangohr/virtualmicromagnetics,fangohr/virtualmicromagnetics,computationalmodelling/virtualmicromagnetics