Fixes #239: Ship with kOS part won't load... etc. more better.

Removes the unnecessary GetType() from variables, and uses
kvp.Value.Value.GetType() instead.