CI: log the branch used to build in Debian job
So we can debug possible issue with branch checking between MRs, merged and nightly builds.
Extracted !2704 (merged) so we can debug it before merging it. We will need to check the CI_COMMIT_BRANCH
value for MR (empty), merged builds and nightly builds which are both supposed to use contrib tarballs if they are found.