Fix EZP-22504: Notice: Undefined variable: moduleName in ezfunctionhandler.php

https://jira.ez.no/browse/EZP-22504