instead of `cb(match)`, you need:

```js
function(cb) {
  if (match) {
    cb();
  } else {
    cb(new Error("apks did not match"));
  }
};
```

If your intention is to respond with an error or success based on the value of match. cb(true) and cb(false)