Issue 702 More informative error message for dependencies when deleting a network