Bug 17989: Include full path logic in _get_template_file