Add check that values from win32 registry are actually valid directories...

Due to how KSPManager uses PopulateRegistryWithInstances works this will result in invalid entries being removed.
Closes #507.