Fix checking if we work inside virtual environment or not.