[Network] getPath function to avoid conflict when updating Tree