if mount.From != "" {
                        if dep := findStageByRef(mount.From, stages, stageByName); dep != nil {
                            stage.AppendDependencyStage(dep)
                            instr.SetDependencyByStageRef(mount.From, dep)
                        } else {