Bugs fixed in the demands:install and demands:uninstall generators