* Convert return type to `Directory` when the target has only `SAVE ARTIFACT` instruction. * Convert return type to `Container` when the target has `SAVE ARTIFACT` but it also has `SAVE IMAGE`.