Fix sync crash if profile can't be fetched.