On Linux this returns what seems to be an OSX style path:
/home//Documents/
Given that Linux has no real concept of a documents folder, and the path wouldn’t normall exist by default, shouldn’t the Linux implemenation of this function just return /home// to match the SystemStats::getUserHomeDirectory() output?