Extend the pattern matching algorithm for locating the source archive file based on pkg name and version.