maybe you should have a look at http://ez.no/doc/ez_publish/technical_manual/3_6/templates/the_pagelayout/variables_in_pagelayout#module_result, where the available variables in pagelayout are described. There is no such thing as $module_result.node but you can get it this way:
Hi
I think U should use <b>let</b>, not <b>def</b>
Im not sure because I do remember, but there isnt {def} in the 3.4 version of eZp (and no $)
{let pagelayout_node=fetch(...) }
{$pagelayout_node.name} {/let}