Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"