Fixed a bug of awscli.py