dependencies: review follow-up to remove pointers and add comment
Created by: mrnugget
Addresses another 2-3 comments in https://github.com/sourcegraph/sourcegraph/pull/37543
Test plan
- Existing tests
Created by: mrnugget
Addresses another 2-3 comments in https://github.com/sourcegraph/sourcegraph/pull/37543