Great, thanks. I suspect this might be failing because it depends on certain types of files existing in the user's home directory. Maybe constructing a fake, temporary home directory and setting the `$HOME` environment variable will help here.