need to handle the case where include_pattern and exclude_pattern exist in the config file but contain empty strings
fixing "else" typo
Merge pull request #8580 from mpeters/ec2_inv_empty_patterns

Handle the case where include_pattern and exclude_pattern exist but are empty strings