fix package.xml search

this is a local fix, more places about the same are to see, so this should be centralized