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.