Fail early when somebody tries to build a link without giving a proper node.

Fail fast, fail early. Makes life easier.
Also avoids dreaded PHP fatal error which would destroy stack-trace.