config_get_list incorrectly handles empty strings
Motivation
----------
it returns `['']` rather than an empty list


diff --git a/lib/rucio/common/config.py b/lib/rucio/common/config.py
index 9a229ec6c..b24cd4afd 100644
--- a/lib/rucio/common/config.py
+++ b/lib/rucio/common/config.py
@@ -289,6 +289,8 @@ def __convert_string_to_list(string):
 
     :returns: A list extracted from the string.
     """
+    if not string or not string.strip():
+        return []
     string = string.split(',')
     return [item.strip(' ') for item in string]
 
['lib/rucio/common/config.py']