fetch: refactor package root in errors

Use stripRoot in less places. Strip it while copying error from
diagnostic to unpack result so other palaces can be free of this logic.
8c58b8fe01Igor Anić committed on 4/9/2024, 1:00:22 PMparentb422e4a
1 file changedLine totals unavailable