Fixed workaround for: is_page_template

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?