Fix logic of global_virtenv deprecation.