Need to decode() to do a str 'in' check in Python 3

These didn't come up earlier due to errors caused by django-subdomain-instances

Ref. #287