packer/rpc: get rid of panicable case