Fixes #6879 - External user groups CLI

Not finished, depends on https://github.com/theforeman/foreman/pull/1640
Forgotten line. That's the reason why the tests are failing btw.