worker: convert list to tuple so addition to set works

Without this, an error like: TypeError: unhashable type: 'list' would
occur when metadata was retried.

Fixes: #7526
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>