Ensure settings object valid before asking generator

Fixes a crash introduced in pull https://github.com/adobe-photoshop/generator-assets/pull/287. 

Needed for 15.2. @iwehrman Any help with getting this in appreciated.