Fixing sudo user issue with virtual environments.

Change-Id: I828a17e6675c21a8eab0fc4f2afbd70487a5f83f