better logging to fix the package selection