Work around esoteric bug in reload of site package

Fixes #15647
Merge pull request #15678 from cachedout/issue_15647

Work around esoteric bug in reload of site package