Tweaked get_parent_root() for remote servers..