T6133: append domain-name to commit-archive if defined
(cherry picked from commit 4291a1a423c3cbbae9e4142575b36d6fbe1c126f)