[DBCache] Return the stub instance.

If DBCache has DBTablesConfig and DBTablesUser, their constructor
is executed when the instance is created. However, If the setup of
the database is done, it causes an exception. This patch avoids the
problem.