Fix the issue when there are no labels in the Vault repository