added fix for addTree calls referencing remote paths