fixes #5708: #nil? is now an allowed method inside of Host and Token jails
templates - sync from community-templates