fix location of master pki_dir