Avoid use of lxml-only getparent()
Merge branch 'getparent' of https://github.com/zenazn/bcfg2

From the pull request:

getparent() only works if you have lxml.etree installed—xml.etree
in the Python standard library (the fallback include) doesn't support
this method.