fix(sync): adjust detect user folder (refs #4448)