Make sure dirs is iterable (not None)
retry: Fix "return None" bug

When self.nlst() would fail.