fix --ignore-installed (Issue #1097)

fixes #1097