Update to be more flexible about pom.xml

Script was unable to find the root file for the new admin-user-guide due
to additional nesting of tags.