taskschd: Make GetFolder check whether task folder tree exists in the registry.