Only run compareSources if there are enough entries in the vector.
Merge pull request #6157 from bbockelm/xrootd-check-size

Only run compareSources if there are enough entries in the vector.