Fixed #23556 -- Raise a more meaningful error message when migrations refer to an unavailable node

https://code.djangoproject.com/ticket/23556
I think "by" in this sentence should be replaced by "with": normally we'd say "tried to replace X _with_ Y"