Print enter and exit from matchPackages()