Bug fix: SHA file used in some code paths for SHA based caching
Adding repo cache timeout for fetching repo indexes
Merge pull request #432 from derheld42/shabugfix

SHA processing bug fix and cache timeout feature