Old logic used OR condition, i.e. if set from-database, it would ignore the --depends-on flag. In new logic it calculates dependencies based on the package list, which can be retrieved from database