Fixing an issue that came up while fixing

 https://github.com/aws/aws-cli.../issues/593.