Fix GetPreferredInstance

Fixes #436.
Although this works fine when I tested it, it fails to fix the underlying issue with KSPManager and the way the command line is setup.  This is something that will need to be addressed as soon as 1.2.0 is released.