Fix for #24987. New hook format now works when config setting='default'
Fixed case where app manifest specifies a new style hook and the config
setting is set to 'default'