V-import-cpanel not adding database in the user account

Hi, i have recently imported a cpanel backup that just include 1 domain and 1 database.

Domain and all the files imported fine.
Database also imported fine but did not added in to the user account.

I checked the database from the mysql root user and it was there. but when i log into the user account i did not see any database.

Further checking v-import-cpanel script i found that the script echo DB details in to the /usr/local/hestia/data/users/$USER/db.conf file but the file was empty.

What could be the possible issue and how i can fix it.

I have more cPanel backups to import and i dont want to manually add the database details into the db.conf file manually.