Fix a bug of check_installed on Debian squeeze.