HomeSoftware Heritage

swh.indexer.tasks: Fix type error when no result or list result