Add support for cases where the scheme is not a useful value - such as the Log class

In the case of the Log class, the `scheme` maps roughly to a className value, though we need a valid string in order for parse_url to return correctly.