Can't set environment on activation keys
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1131618
Description of problem:
Introduced by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1125403
Activation key New and Edit pages all fail at retrieving the lifecycle environment list, so you cannot set an environment and thus they are not useful.
Steps to Reproduce:
1. Try to create an activation key assigned to an environment/content view
No environments show up, error appears in browser console
Environments show up and I can selecte them.
traceback in browser:
TypeError: Cannot read property 'environments' of null
fixes #7158 - environments are now inside of the "results" hash, BZ 1131618