fix for 'Virtualenv' object has no attribute 'configuration'