Pattern match on `""`? You control the full chain, you may be you could use an Option.