copies: use node.nullrev instead of literal -1

Authored by martinvonz.