MAGN-5562 Wrong replication syntax crashes Dynamo hard.

This PR fixes what appears to be a copy paste error. We should be finding an "in" port in this method, not an "out" port. Th

PTAL:
- [ ] @ramramps 

Requires Merge:
- [ ] Revit2015