2477bb6d4d
Also adds a check that makes sure the instance the artifact is to be uploaded to is actually defined. Change-Id: Ie80fa9869e49566dc39e815c10146d45724f5744