script: leave nil object when address cannot be decoded from pubkey