managers/ec2: fix flake8 issue