should this be changed to `if (opts.entry && id.path) self._entries.push(id.path);`?