fix --ignore-installed (Issue #1097)
Merge pull request #1352 from qwcode/fix_ignore_installed

fix --ignore-installed (Issue #1097)