message: protect against missing/bad scripts being loaded from get/run
diff: @@ -181,6 +181,7 @@ module.exports = function(controller) {
  };
  return new Promise(function(resolve, reject) {
  controller.studio.getScript(bot, input_text, user).then(function(command) {
  + if (command !== {} && command.id) {
  controller.trigger('command_triggered', [bot, context, command]);
  // make the script source information from Botkit Studio available to Botkit's convo object
  @@ -211,6 +212,9 @@ module.exports = function(controller) {
  }).catch(function(err) {
  reject(err);
  });
  + } else {
  + reject('Script not found');
  + }
  }).catch(function(err) {
  reject(err);
  });
  