Check for a valid config object before checking the watch attribute

I tried using karma-browserify in a project but found that it crashed if the config section was completely missing.  I didn't want to change any options, so it seemed ok to completely remove the config section.  Here is a change that fixed the problem for me.