NXIO-150: dont remove packages key if no packages installed