modified portsx so it also handles packages having no port origin