Fix logging issue with versiontools in a virtualenv