Check if GTAGS database can be found.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>