Fix issue building User-Agent with unset bundle id/version.