Fix divergence counts for tags and commits
What does this MR do and why?
- With this change, it'll be possible to compare tags and commits with the default branch and receive numbers as a response
- The branch existence needs only for sync-fork mutation, because the upstream can be merged only to a branch
Related issue:
Edited by Igor Drozdov