FIX Display all branches even the ones with the same SHA

The code now appends the name onto the value for the deployment.
This way, it lists all branches even if they have a duplicate SHA.
The same fix was applied to tags, though this is less of an issue for most people.