Guard against an NPE in the event servletName is null.