use self.context, not self.local

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>