Then we need to fix it so that get_real_user includes that information.  System is already crammed with too much stuff, we can't use it as a global dumping ground.  Get_real_user needs to do the right thing to give you a real user, or we'll constantly be adding weird hacks like this.