The Scripting app resource throws null pointer exception is main script isn't found

Check to make sure that the main script file is not null before proceeding.  Fixes issue GEOS-6676.

Thanks!
Jared