Irish police are investigating after the seven-month-old girl was found in a car near Dundrum.