return empty string if e.g. GDN_User.Photo is NULL
return empty string if e.g. GDN_User.Photo is NULL

fixes TypeError: Cannot read property 'lastIndexOf' of null
bdharrington7/nodebb-plugin-import-vanilla