Replace raw path string with syncItem (partial)