Ensure params were set in ec2_vpc before accessing them

Fixes #6763
Merge pull request #6985 from jimi-c/issue_6763_ec2_vpc_params

Ensure params were set in ec2_vpc before accessing them