Yeah, name and/or GUID not being available seems probable. Much data gets downloaded as you login and might not need to be downloaded again when you reload the UI.
Another way to check if the unit is the player is this:
Code:
CombatLog_Object_IsA(flags, COMBATLOG_FILTER_ME)
(don't know if that's anything other than a bit.band?)