Fixes TypeError if dict value is not a string

Closes https://github.com/Birdback/manage.py/issues/14