[devtools jail] fix NULL pointer dereference

Fix rogerwang/node-webkit#793