We have many git repositories in VSTS and we would like to use source labeling function to be able to get more information. According to the setup at every successful build we should have a label in our source code. But it fails, VSO build says that it cannot tag the source code. In the log I cannot find anything usable. Do you know how to debug it? Do you have any information which helps get closer to the root cause?

[![error](https://i.stack.imgur.com/baR7S.png)](https://i.stack.imgur.com/baR7S.png)

Setup:

[![enter image description here](https://i.stack.imgur.com/qXwST.png)](https://i.stack.imgur.com/qXwST.png)

The strange things it that, in my personal repository it works fine and there are no significant difference between the two repository. Moreover, we have another build in the same repository with the same setup and it works fine.

**Update**:

* I checked the tags on the particular branch. Git tag says that there are no tags on this branch.