handle anonymous gists

user field is None for anonymous gists, not a dict.