Trim path entry in archive when comparing.

Archive path entries seems to be stored in a fixed sized string of 100 chars. Hence it is necessary to trim entries when using identical comparisons.