node: fix #7841 by overlooking the spare sourceline

See **title** :)
Please handle the same condition here.