Fix empty indexes in cli param Add extra check for -i option for fix `AttributeError: 'NoneType'`
Fix empty indexes in cli param
Add extra check for -i option for fix `AttributeError: 'NoneType'`

To reproduce this bug `pipenv install <module> -i`

kennethreitz/pipenv