Fix error when vault is not found