MDL-37822 Moodle send site information to a hub even though it's unchecked
MDL-37822 move the default code above the set_config to not make the code less confusing