Just to contribute some additional code to the cause here is what I use in shell scripts to get our list of sites from server.ini instead of looking for siteInfo files:
mySites=grep environs /cloverleaf/cis19.1/integrator/server/server.ini | awk 'BEGIN{FS="/";RS=";";ORS=" "} { print $NF }'