fix possible npe in symbole search for non project context #268