Fix: 'NoneType' object has no attribute 'isinstance'

You can reproduce the error by:
```
wget https://gist.github.com/tkf/5639277/raw/21a3ce1f50590476b495a2d9f18cd7f616bc2cda/record.json
./sith.py redo
```