Hide metabox dependant on page template chosen

The value is not the same thing that you see when you look at the toggle. That part is for humans. To see the value you have to look at the source of the page. If you have a template created by template.contact.php the value in that box would be template.contact.php, so it looks like the value is the php file name.