Fixed get_configuration and virtualenv issue