Update assert in test_pip_installed_weird_install

Pull #6574 changed the state output slightly, breaking this test. This
commit fixes the test.
Merge pull request #6590 from terminalmage/pip-test-fix

Update assert in test_pip_installed_weird_install