         computeController.checkStackRevisions()
 
         @emit 'Reload'
-        @emit 'Completed', stackTemplate
+
+        if completed
+          @emit 'Completed', stackTemplate

                         template and try again"
        return

      @outputView.add "You can now close this window, or set this
                       template as default for your team members."

      @cancelButton.setTitle 'Close'
      @setAsDefaultButton.show()


  checkAndBootstrapCredentials: (callback) ->

    { credentialsData } = @stackTemplateView.credentialStatus
    [credential]        = credentialsData

    failed = (err) =>
      @outputView.handleError err

      title          : 'Set as Default for Team'
      cssClass       : 'solid compact nav next hidden setasdefault-button'
      loader         : yes
      callback       : => @handleSetDefaultTemplate()


  handleSave: ->
