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

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