renderIPForObject: removed PHP notice (#759)

use array_last instead of array_pop