Fixed workaround for: is_page_template that doesn't seems to work

I could not get the is_page_template to work on a fresh WP install with
Jigo. I created a work around for it. Can you check if my solution
works?