fixes #4958 - additional changes to support org kt_environments relationship

This commit contains a few more changes need to support the renaming
of environments to kt_environments in the organization_extensions.