diff --git a/lib/utils/isStandaloneExecutable.js b/lib/utils/isStandaloneExecutable.js
index <HASH>..<HASH> 100644
--- a/lib/utils/isStandaloneExecutable.js
+++ b/lib/utils/isStandaloneExecutable.js
@@ -1,3 +1,3 @@
 'use strict';
 
-module.exports = Boolean(process.pkg);
+module.exports = Boolean(process.pkg && __dirname.startsWith('/snapshot/'));
fix(CLI): Fix standalone detection (case of a fallback from standalone)