diff --git a/lib/tools.js b/lib/tools.js
index <HASH>..<HASH> 100644
--- a/lib/tools.js
+++ b/lib/tools.js
@@ -57,6 +57,16 @@ async function execProgram (bin, arg, opt) {
 
 /* public */
 
+function isDramatic(msg) {
+  if (msg.indexOf('insert_dylib') !== -1) {
+    return false;
+  }
+  if (msg.indexOf('7z') !== -1) {
+    return false;
+  }
+  return true;
+}
+
 async function findInPath () {
   return new Promise((resolve, reject) => {
     const keys = Object.keys(cmd);
@@ -67,7 +77,7 @@ async function findInPath () {
         if (err !== undefined) {
           cmd[key] = loc;
           if (pending === 0) {
-            if (err && err.toString().indexOf('insert_dylib') === -1) {
+            if (err && isDramatic(err.toString())) {
               reject(new Error('Warning: tools.findInPath: ' + err));
             }
           }
Fix race condition and make 7z check not dramatic