fix: restore command, remove premature creation of pkgbase
We're currently creating a "PackageBases" when the "restore" command is executed.
This is problematic for pkgbases that never existed before. In those cases it will create the record but fail in the update.py script. Thus it leaves an orphan "PackageBases" record in the DB (which does not have any related "Packages" record(s)).
Navigating to such a packages /pkgbase/... URL will result in a crash since it is not foreseen to have "orphan" pkgbase records.
We can safely remove the early creation of that record because it'll be taken care of in the update.py script that is being called.
Issue report (fixes root cause): #448 (closed)
Signed-off-by: moson-mo mo-son@mailbox.org