Let dry_mode auto update the catalogs if -U is not passed

dry_mode will update the catalogs except if -U is not passed to install
or upgrade command or the the user has insufficient access to perform an
update of the database.

Fixes: #559