Remove trailing slashes from listed_ports.
This fixes get_porttesting on ports submitted by user with trailing slashes.
Reported by:	miwi