Fix crash om com.palm.db/stat call

:Release Notes:
When no kinds in database, stat call produce crash of db8 on MojLogDebug

:Detailed Notes:

:Testing Performed:
Compiled and tested localy

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>