providers/aws: only flatten cidr if they exist

fixes #87