Well, I didn't actually touch that code; this is a refactoring rename only.  Having said that, I deliberately didn't add a node existence check here because I thought that the validation code would catch it.  It turns out that this is true for the web UI, but not if you re-apply the proposal via the command-line :-/  I'll update the PR accordingly.