Fix valid_for() in machoinfo.

This should raise ServiceConfigError instead of return a boolean.