Correct the argument parsing (ros version was not considered).

Introduced in commit 2c34c25 (my bad).
Correct method install_ros_legacy.

The distrib name didn't appear in the source.list file.
The test of the ros version was not working properly.
the installation of rosinstall has changed (apt-get)

Thanks to Benjamin Coudrin for notifying.