add-comp.pl update: fix check_if_installed, add --dry-run