Check if $id_or_email is_object before looking at properties

git-svn-id: https://plugins.svn.wordpress.org/better-avatars/trunk@1005828 b8457f37-d9ea-0310-8a92-e5e31aec5664