Bug 1019. Fix ovim.get_ports needed for wim