Memoize sha to avoid bug when the code changes and the sha is recalculated