Fix implementation of the case that the specified pod does not exist in
GetPod.