apt: check if ssh key exists before lookup()