Very small fix to get the popularity scanning working, because apparently the DFC fixed the listDirectory() method