CRM-15508 Custom Group Create API references non existant var

https://issues.civicrm.org/jira/browse/CRM-15508 fix