Fix ARTIFACT env-var being replaced if only one entry listed.