Fix `artifact` env-var being replaced if only one entry is listed.