golyshevd: refactor Tracker.prototype.resolve