def METHOD_NAME(cloudpath):
  protocol_re = re.compile(r'(\w+)://')
  match = re.match(protocol_re, cloudpath)
  if not match:
    return (None, cloudpath)
  (protocol,) = match.groups()
  cloudpath = re.sub(protocol_re, '', cloudpath, count=1)
  return (protocol, cloudpath)