Fix error when requesting twitter avatar path

Currently when going to a detail page the Twitter feed won't load due to an error (profile_image_url is an object, not a string). This fixes that issue and will make tweets load again.