Fix the `test_install_pre_argument_in_resulting_command` test case.

It now checks if the `--pre` output is present in versions >= 1.4 or not in versions < 1.4