Add assertions to prevent dangerous behaviors during service install