But, as RL pointed out, the struggle for Rey isn’t necessarily concerning a family itself, but what name she should go by. Toward the end of the film, Palpatine even refers to the Resistance fleet as her “new family”.
I think the line would actually make Rey’s arc of self-confidence issues and worthiness much more apparent than the original.