fix confusion between AMI and ami variable in blimpy revert