Conditionally set extension global defaults

Check if the configuration globals are isset() and set them to defaults
if they are not.  This helps if the user accidentally set the globals
before the module is loaded.

Change-Id: I271340e62b4b221cb0c252353907714858f6c062