fixed initialization of key store if no key store file is existing (#2)