Fixes #6256 - Handle a nil value in kt_env for hostgroups
Merge pull request #4288 from GregSutcliffe/6256

Fixes #6256 - Handle a nil value in kt_env for hostgroups