fix typo in install error cleanup code