Fixes #7 by using ResourceGroup only if it exists.
Merge pull request #10 from davidread/7-resource-groups

Fixes #7 by using ResourceGroup only if it exists.