Bugfix: Improve error message when `prune` fails to list pack files

When listing the pack files of a repository failed during `prune`, for
example due to a request timeout, restic printed the error together with
a stack trace.

Restic now instead reports a short error message stating that listing
the pack files failed.

https://github.com/restic/restic/issues/22120
https://github.com/restic/restic/pull/22124
