Check for a valid config object before checking the watch attribute
Merge pull request #17 from mdlavin/fix-failure-on-missing-config

Check for a valid config object before checking the watch attribute