ec2 inventory plugin: fix whitespace around connection validity test
Merge pull request #3349 from tgerla/fixec2

ec2 inventory plugin: fix whitespace around connection validity test