fixed bug in python3 when getting a list of cloud databases