It makes more sense to first check for the directory, then for the keys. With a non-existant list-dir we had 'no public key' errors, which are not helpful.