More robust way of retrieving SSH key path