Fixes #6635,BZ1114046 - Checking if content view is in environment

Instead of checking that the content view was in the environment for content
host create, the code was just erroring with 'undefined method `cp_id`'. Now
we're showing a more user friendly error.