env_process: Fix a wrong logic in checking of vm.exists().

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>