Handle the transformer name being an empty string

I ran into a case where the value transformer name could be an empty string rather than `nil`. This change adds handling for that scenario.