Fixing explicit calls to is_installed in the libinstall. Also fixing the guards on the is_installed so that it does not exit.