Hagar: As an Egyptian fleeing to Egypt

How could Hagar, slave girl to Sarai flee to Egypt, yet she was Egyptian? Wouldn't it be called going back home?