when obtaining pod name (prefix), break out of for loop as soon as the length -2 index has been reached
when obtaining pod name (prefix), break out of for loop as soon as the length -2 index has been reached

also set the podName var properly...

eversC/inspectr