reduce rpo() usage

There were some cases where rpo() was used multiple times in a method. This was dumb. Assign the return to a variable in these cases and use the variable.
Merge pull request #8 from PagerDuty/some_code_improvements

reduce rpo() usage