InfoXML: <Path> filter should match on realpath

When using altsrc the name of real file created on the client is now
in the realname attribute of the entry. The <Path> filter in the info.xml
should match theses if available to set different permissions for
the different files created by one template with altsrc.
testsuite: add test for InfoXML matching for altsrc entries