Common practice for upgrading dual-RE systems is to upgrade junos on the backup RE first. Then, once it's upgraded do a mastership switch and repeat the process on the former master RE. The current junos_install_os does not allow this sort of flexibility, and can only install on RE0, then RE1.
The module needs to be enhanced to allow installation on an ordered list of REs (eg "re1, re0"). (The list could be a list of one.)