Update typo and change the logic in packetfence-tunnel