Upstream is not always configured ad might give empty results. Ideally we need to re-use the same code as we use for buildinfo, but it's also a bit of a question which exact hash we want to put to the name by default.