Fix plan9port logic