If you read the documentation of getnetwordOperatorName() it says:
Returns the alphabetic name of current registered operator.
Availability: Only when user is registered to a network. Result may be unreliable on CDMA networks (use getPhoneType() to determine if on a CDMA network).
As you see that result may be unreliable for CDMA networks. So check if you are using CDMA. That's my one cents.