add a condition test in cc-lookup.el to avoid jumping when no symbol is found.

This is just a workaround and need to be remove in the future.