Prevent NPE introduced by 734fafe0 if resource patterns are not set
Merge pull request #30 from stevenschlansker/resource-pattern-npe

Prevent NPE introduced by 734fafe0 if resource patterns are not set