Generalize support for SGE to enable runs on systems without default queues. Thanks to Karl Gutwin.