diff --git a/lib/util/internal/getRelativePath.js b/lib/util/internal/getRelativePath.js
index <HASH>..<HASH> 100644
--- a/lib/util/internal/getRelativePath.js
+++ b/lib/util/internal/getRelativePath.js
@@ -2,5 +2,9 @@ import stripPathPrefix from './stripPathPrefix'
 const getRootPath = require('./getRootPath')
 
 export default function (filename) {
-  return stripPathPrefix(getRootPath(filename), filename)
+  const rootPath = getRootPath(filename)
+  if (!rootPath) {
+    return false
+  }
+  return stripPathPrefix(rootPath, filename)
 }
fix(internal): Correctly ignore files outside of Meteor projects

#<I>