Bash: add support for ec2-{api,ami}-tools