lister: Fix type
This fixes the master build [1]
[1] https://jenkins.softwareheritage.org/view/swh-draft/job/DLS/job/tests/1625/console