I have had to restore manually all the handles of communities/collections from the original database, big repository about 72 communities and 892 collections, and now it seems to be OK.
I don't know what has happened. We use oracle12 and the column resource_id of table handle was completely full of "null", but, thank goodness, the UUID were correct in the table communities, collections and, of course, in matadatavalue, and I have the original database.
After my experience I think it's a good idea a packager options to save all objects by type to "copy" old repositories to new ones checking the parent-child relationship at at restore moment.
I hope this can help somebody, thank you very much.
Veronica