Test if `--pre` option argument ends up in the resulting command line for `pip.install`.
Return an empty dictionary instead of `ret` which is not yet defined at this stage.
Merge pull request #6295 from s0undt3ch/hotfix/pip-tests

Test if `--pre` option argument ends up in the resulting command line for `pip.install`