LocalStore::addValidPath(): Throw error when the CA assertion is wrong
LocalStore::addValidPath(): Throw error when the CA assertion is wrong

Closes #2133.

peti/nix,NixOS/nix,layus/nix,dtzWill/nix,pikajude/nix,ehmry/nix,ehmry/nix,rycee/nix,vcunat/nix,ehmry/nix,vcunat/nix,shlevy/nix,layus/nix,peti/nix,dtzWill/nix,shlevy/nix,shlevy/nix,pikajude/nix,dtzWill/nix,NixOS/nix,NixOS/nix,rycee/nix,shlevy/nix,dtzWill/nix,shlevy/nix,rycee/nix,zimbatm/nix,layus/nix,layus/nix,vcunat/nix,zimbatm/nix,layus/nix,peti/nix,ehmry/nix,ehmry/nix,pikajude/nix,NixOS/nix,peti/nix,NixOS/nix,peti/nix,zimbatm/nix,dtzWill/nix,rycee/nix,vcunat/nix,ehmry/nix,zimbatm/nix,rycee/nix