[BUGFIX] Generation of realurl_autoconf.php does not work if hooks defined in config array