fix bug where sync_photos would not fail if there was no profile_photo mapping