- Fix an error that prevents the use of `pkg add' or `pkg annotate'.

@bapt broke this in commit 50239e307a4b5a037403c38dca75ed11c41f0017