Turn empty-string descriptor components into nil.