Correctly detect and log errors in list().
Correctly detect and log errors in list().

This repairs tests/biomaj_tests.py:TestBiomajRSYNCDownload.test_rsync_list_error.

genouest/biomaj-download,genouest/biomaj-download