Fix name of getpubkey in script references