Fix #117, fix attributerror in github webhook