Fix Completion.follow_definition

I didn't get any error because of this, but I am pretty sure it causes an AttributeError for some cases.