Helper function for finding the RootURI