Update GetPackageJob.java

fixing java.lang.IndexOutOfBoundsException