common.getServiceName returns port name as service name if it fails to
read from /etc/services.