Fixed regex used in getPackageFileInfo().

The previous regex update fixed only versions with multiple digits in last part of version number.