Only try to add id_dsa or id_rsa if they exist