[Pkg manager] Fix not to respond error in case of missing endline in K8s API response