Fix hook check logic
Fix hook check logic

Signed-off-by: Chengwei Yang <7e0623afadd0aa58c06838a736222d073dafaa0b@qiyi.com>

carnivalmobile/drone,vaijab/drone,msteinert/drone,mvdkleijn/drone,benschumacher/drone,msteinert/drone,net2b/drone,chlorm-forks/drone,crhym3/drone,k2wanko/drone,crhym3/drone,chlorm-forks/drone,mopemope/drone,crhym3/drone,jackspirou/drone,thomasf/drone,carnivalmobile/drone,bsauvajon/drone,pombredanne/drone,donatj/drone,jackspirou/drone,romlinch/drone,jackspirou/drone,cdaguerre/drone,lins05/drone,vtolstov/drone,thomasf/drone,vtolstov/drone,zaro0508/drone,cdaguerre/drone,zaro0508/drone,nils-werner/drone,msteinert/drone,Ablu/drone,veghead/drone,net2b/drone,jdamick/drone,vaijab/drone,cdaguerre/drone,romlinch/drone,mvdkleijn/drone,donatj/drone,k2wanko/drone,pombredanne/drone,flyinprogrammer/drone,pombredanne/drone,bsauvajon/drone,Ablu/drone,zaro0508/drone,veghead/drone,lins05/drone,Dataman-Cloud/drone,masarakki/drone,mopemope/drone,nils-werner/drone,NamPNQ/drone,zaro0508/drone,mvdkleijn/drone,NamPNQ/drone,flyinprogrammer/drone,carnivalmobile/drone,nils-werner/drone,romlinch/drone,mvdkleijn/drone,Dataman-Cloud/drone,Dataman-Cloud/drone,jdamick/drone,fracting/drone,fracting/drone,flyinprogrammer/drone,fracting/drone,donatj/drone,masarakki/drone,benschumacher/drone,net2b/drone,k2wanko/drone,mopemope/drone,thomasf/drone,Ablu/drone