Allow jail names with weird names

Ticket: #6504