fixes success case in query_aws_instance where we dont return a tuple