Fix python-2.6 support

It was calling __setitem__ from copy.deepcopy on an unitialized dictionary.