Problem when installing more than one extension

Please see here for more information: https://github.com/elinw/joomla-cms/issues/29

I'm not sure whether to post this here or to the platform.

Problem is that some states are not reset after installing an extension via discover_install.
This way the same paths are used for the next extension, too.

Tracker issue:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30196