Check for nil in advice for ac-complete

This fixes the "split-string: Wrong type argument: stringp, nil" error
when ac-complete is called and there are no completion candidates.