Yep, and there's nothing you can do about that.
Except for get yourself out of jail, that is.
The dog has the key to the cell. You might be able to convince him to drop it.
He might like a bone from the neighboring cell.
All you need is something to reach over to the bone. That item should be in your cell.