I am not sure if this is the right action. When I get home my dogs are very glad to see me and rush to my arms to greet me and get petted and attention. Then as I am relaxed on my recliner with my dogs snuggled with me they will abandon me and rush to my wife when she gets home to be petted and get attention from her. IF this dog has not seen the male owner for a long time it would run over to him to greet him and make it look like it is choosing him. Now if the dog was able to see both owners for a bit together and then was able to choose I bet it could be a different outcome.
From what I gathered the woman bought the dog from someone in a parking lot just trying to sell it off so it was a shady deal from the start.