Fixed getParsedPortInfo for windows