V-restore-cpanel works but databases are invisible in the panel


Finally tried this lovely script. Worked beautifully but I seem to have found one bug.
At restore, databases are correctly copied to /var/lib/mysql, but they are not visible to user in the control panel.

Also, not sure if these are even included in cpanel backup, but ssl certs were not restored.