Removing clean option from pg-restore, which seems to make it work without errors.