company-capf: fix when company-point is nil