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.

http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-5562

PTAL:
- [x] @ramramps 

Requires Merge:
- [ ] Revit2015