Fixed internal and external porttype lookup for system ports
Fixed internal and external porttype lookup for system ports

Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan