Users real name isn't showing up in mw.user.options.
It shows up in the preference page just fine, but for some reason it's not being propagated out to the javascript stuff.
I got around it by using the MakeGlobalVariablesScript hook, but that seems a less than optional solution for something that's should be a normal user preference.
Tested on MW 1.25.2 and 1.27.1