Initialize endpointName to an empty Optional holder.
This fixes broken ThriftFactoryTest too.