The path has to start with the home directory to be shortened to `~`. Previously a user named `user` would see `/media/backup~/files` when browsing `/media/backup/home/user/files`.