893993: attach --auto now prints the proper text when no products are installed

added some logic to catch the empty case