fixed a bug that caused "no installed package found" message to show always