agent: return 404 in health api for non-existent node