Fixed PHP warning
Fixed failed attempt to add sys_account as producer of newly linked
channel created outside Moodle