Thanks Matt. FYI, HotPot is designed to run on all versions of Moodle 2.x.
In Moodle >= 2.2, the calls to get_context_instance() are not used by HotPot.
However, in Moodle <= 2.1 the code *must* use get_context_instance().
That is why you found what you found.