CB-12787: Fix plugin installation with --link option

 This closes #557
diff --git a/index.js b/index.js
index 21c2f42..3ef0bf0 100644
--- a/index.js
+++ b/index.js
@@ -38,7 +38,7 @@
  *
  */
 module.exports = function(target, dest, opts) {
-    var fetchArgs = ['install'];
+    var fetchArgs = opts.link ? ['link'] : ['install'];
     opts = opts || {};
     var tree1;