energy_model: Raise TargetError instead of KeyError if sysfs is messed up
Created by: bjackman
If the kernel is exposes a partial sched_domain hierarchy we should raise a TargetError that can be caught and ignored, rather than a KeyError (which should indicate a bug in EnergyModel).