Fix that some config directives cannot be retrieved correctly in dynamic publishing. bugid:111823