build: fix release name strings for gitian builds

Fixes #4819

This is a short-term fix. I'd like to address the current tangled version/string logic, but my attempts so far haven't actually improved the situation.

Fix the symptom for now.