Indexes like the primitivesIndex should be changed... ie:
localPrimitiveIndex = {
"GEOTIFF": ("primitives_GEOTIFF.py", "GEOTIFFPrimitives")
}
... this doesn't need the localPrimitivesIndex setting
Since it's naming convention recognized it should probably be JSON format, no variable. This should apply to all index systems, which are all sadly slightly different. This idiom was removed from the dataset type system, and instead after execing the type def, carefully so the pyc is used if available, the passed in locals dictionary is checked for instances of AstroDataType.