If we couldn't find a jail from the prisoner, get the first jail.

Also, don't try to load prisoners if there are no jails.