DirectoryHelper.getUserLinks create user links node if not exists, without switching to default workspace.
So when user has not yet personnal links, the node is created only in live session.
It can leads to jcr inconsistency between default/live workspaces after created its first user links
Getting user links should not create JCR nodes