I agree with what you are saying but not to the degree that the ideology is purely influenced by the governmental structure. Islam existed far before either Iran or Saudi existed. Their formation was influenced by the type of ideas Islam enforces as much as Islam was influenced by the power structure that eventually formed as all the pieces fell into place by the formation of those nations. Islam enables interpretations that lead to the formation of these oppressive regimes and then these regimes and then the power structure continues to enforce that interpretation.