Fixes #7045 - fix location undefined for user

Fix issue where location is undefined for User in find_only_environment
of the system api. Also remove un-needed logic in find_only_environment
and move remaining logic into find_environment_and_content_view.
Merge pull request #4567 from dustint-rh/fix_find_only_environment

Fixes #7045 - fix location undefined for user