trust function and guards on virtualenvwrapper config