You are correct. Your winning percentage and opponents records (SOS) are what count, the exact breakdown of your own wins/losses is irrelevant in RPI.
This is debatable. The currently accepted way to do the calculation means that your opponents contribution to you're RPI in each game is weighted according to home/away won/loss. Thus, losing at home to to a strong team is preferable to losing urge road to a weak team.