Fixed a bug where it Used to enter an infinite loop trying to generate a new, unique name for the community, but ended up generating something that looked like a key, not a name
This failed previously because it used acs_sc_msg_type.get_id which does not return NULL when the msg_type is not defined but a no_data_found exception.