Improved handling of the object manager in backup.pl.