982649 - fixing a python 2.6 incompatibility which caused writing of XML for individual packages to fail.
preferring to use 'find' instead of 'index' when testing for presense of a string in test output.
Merge pull request #274 from pulp/mhrivnak-982649

982649 - fixing a python 2.6 incompatibility which caused writing of XML...
Merge branch 'pulp-2.2', pre-build.