Fix potential NPE in getInteractScript when no assignment exists for a NPC.