Thanks!
Yup, that works. It’s a better than solution than I had of modifying the code (removing realpath call), but will this potentially break anything?
It’s not a public site and I can’t make it public, but you should have enough information to look into the issue.