if paramiko agent has no keys, it might have no keys attribute. check for that