Fix the missing default instance bug

This fixes an unhandled exception when we cannot find a default KSP instance and no instances have been recorded in the CKAN registry instance list.