CI-builds have <unknown> branch in BuildData
See this:
Changing the CI settings the way it clones didn't help to change this.
Apparently after cloning, the CI does something like git checkout abcdef12345 and therefore is in detached state.
Possible solution: https://stackoverflow.com/a/69268083/1268759
