Unbreak master page rendering of ODP files.

Fixes an infinite loop that tries to acquire a
master page element when given a master page
name, which crept in by mistake via 9984265c.
Merge pull request #250 from adityab/odpfix

Unbreak loading of ODP files