fix for non-ec2 ssh, error when attempting to delete a non-existing private key