Missing found = true in for loop

If the given port is already in u.doc.Ports, set found to true, ensuring that the port is not appended again.