allow multiple `uninstall` stanzas to work

fixes longstanding bug; aligns code with docs