Possible fix for Lib.isRealPlayer() NPE crash