Handle the situation where the package has not the requested branch
Adjust the documentation of pkgdb2.lib.set_critpath_packages
Expand the unit-tests for pkgdb2.lib.set_critpath_packages

This new test check the behavior of the method when the package is not
in the branch specified.