packet: raise more suitable exception
packet: raise more suitable exception

There was a RuntimeError in there which shoud have been a TypeError.
Fixed.

kavitshah8/SDNDeveloper,kpengboy/pox-exercise,andiwundsam/_of_normalize,VamsikrishnaNallabothu/pox,noxrepo/pox,chenyuntc/pox,noxrepo/pox,jacobq/csci5221-viro-project,xAKLx/pox,adusia/pox,denovogroup/pox,chenyuntc/pox,waltznetworks/pox,diogommartins/pox,PrincetonUniversity/pox,kpengboy/pox-exercise,PrincetonUniversity/pox,diogommartins/pox,kulawczukmarcin/mypox,diogommartins/pox,kavitshah8/SDNDeveloper,pthien92/sdn,kavitshah8/SDNDeveloper,kulawczukmarcin/mypox,denovogroup/pox,MurphyMc/pox,kpengboy/pox-exercise,VamsikrishnaNallabothu/pox,jacobq/csci5221-viro-project,kpengboy/pox-exercise,adusia/pox,denovogroup/pox,denovogroup/pox,noxrepo/pox,pthien92/sdn,adusia/pox,pthien92/sdn,carlye566/IoT-POX,PrincetonUniversity/pox,MurphyMc/pox,kpengboy/pox-exercise,xAKLx/pox,carlye566/IoT-POX,kulawczukmarcin/mypox,PrincetonUniversity/pox,pthien92/sdn,VamsikrishnaNallabothu/pox,adusia/pox,xAKLx/pox,PrincetonUniversity/pox,chenyuntc/pox,MurphyMc/pox,waltznetworks/pox,jacobq/csci5221-viro-project,waltznetworks/pox,xAKLx/pox,jacobq/csci5221-viro-project,diogommartins/pox,carlye566/IoT-POX,MurphyMc/pox,andiwundsam/_of_normalize,kulawczukmarcin/mypox,jacobq/csci5221-viro-project,diogommartins/pox,MurphyMc/pox,noxrepo/pox,kavitshah8/SDNDeveloper,VamsikrishnaNallabothu/pox,chenyuntc/pox,kulawczukmarcin/mypox,VamsikrishnaNallabothu/pox,carlye566/IoT-POX,chenyuntc/pox,waltznetworks/pox,andiwundsam/_of_normalize,waltznetworks/pox,pthien92/sdn,carlye566/IoT-POX,denovogroup/pox,xAKLx/pox,andiwundsam/_of_normalize,adusia/pox