Fix compatibility with older virtualenv revision, closes: #6309