           @prepareCollaboration()
           @bindKlientEvents machineItem
           @runOnboarding()
+
         else
           unless @machineStateModal
 

  handleIDEBecameReady: (machine, initial = no) ->

    { computeController } = kd.singletons
    { finderController }  = @finderPane

    debug 'handleIDEBecameReady', { machine, initial }

    # when MachineStateModal calls this func, we need to rebind Klient.
    @bindKlientEvents machine

    machine.fetchInfo (err, info) =>
      debug 'machine.fetchInfo res', { err, info }
      kd.warn '[IDE] Failed to fetch info', err  if err
      rootPath = info?.home or '/'
      debug 'updating machine root as', @mountedMachine.uid, rootPath
      finderController.updateMachineRoot @mountedMachine.uid, rootPath

    machine.getBaseKite()?.fetchTerminalSessions?()


    panel     = @workspace.getView()
    filesPane = panel.getPaneByName 'filesPane'

    @workspace.ready =>
      filesPane.emit 'MachineMountRequested', machineData
      @updateMachineRoot()


  unmountMachine: (machineData) ->
