Fixes #7024 - fixes delete cv from environment

In the cv api, this fixes the guard that checks that cv is in environment prior to removal.
Merge pull request #4560 from dustint-rh/typo_in_delete_cv_from_env

Fixes #7024 - fixes delete cv from environment