Changed the Debian is_installed function to use the more accurate get_installed function.

is_installed works also with removed (dpkg -r ) packages