Trim out extra Nmap text to avoid empty $port.
Trim out extra Nmap text to avoid empty $port.

zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie