Refactor in workflows.py necessary to complete auto_heal_reinstall_node_subgraph