Fix passing the right number of parameters to distros in actions

Change-Id: I794dc9d6b165314b05b01cf44c7f3b15dbf1b9f7