More defensive code in the event of python-twitter breaking