rsync_base_uri
char *rsync_base_uri(const char *);
if ((repouri = rsync_base_uri(uri)) == NULL)
if ((repo = rsync_base_uri(uri)) == NULL)