kalua: db: generate_grepable_index() we cannot work if db_restore() was not fired yet - also hotfix for resulting empty /tmp/USERDB_COPY