histfactory: patch_xml also patch <Input>s by only including parent directory in paths