The generator likely had a floating ground. It's not really reversed, it's just that the neutral (white) and ground (green) wires are not connected at the source as they are in shore
power. Honda's do that too. You can get a gadget that plugs into an unused outlet that connects them together or make one yourself, or just ignore it. When I assembled my cord to connect the generator, connected the two together. No more RP light.