Fixes #5723 - Show hostgroups inherited via config groups in puppetclass

@tbrisker, some more tips at https://t.co/mZyIxXJvmD