Maybe:
```js
  for (var i = 0; i < lines.length; i++) {
    var line = lines[i].trim();
    if (/^#/.test(line)) {
      // Noop we got a comment
    } else if (line.length && line !== ' ') {
      // We may have something...
      if (fs.existsSync(fs.resolve('packages', line))) {
        // Yep, the package is actually installed by mrt - so we want
        // to scan package.js - for starters we just want to know if the
        // package depends on Famono
        ret.push(line);
      }
    }
  }
```